var clientWidth=window.screen.width;
var html=document.getElementsByTagName('html')[0];
html.style.fontSize=clientWidth/20+'px';